﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShippingOrderQuery.aspx.cs"
    Inherits="WMS6.Web.Outbound.ShippingOrderQuery" meta:resourcekey="Page" %>

<%@ Register Src="../UserControls/MultipleSelectControl.ascx" TagName="MultipleSelectControl"
    TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>ShippingOrderQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <base target="_self" />

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            
            var actionID = window.dialogArguments;
            if(actionID != "" && actionID != null)
            {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0],array[1]);
            }
            else
            {
                initQueryPage();
            }
        }
        
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }    
	    
	    //弹出窗口选择客户
        function selectConsignee()
        {
            var rtnValue = popModalWindow('../Configuration/CustomerQuery.aspx?action=txtConsigneeID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtConsigneeID").focus();
                document.getElementById("txtConsigneeID").value = rtnValue;
            }
        }
	    
	    //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
	    
    </script>

</head>
<body>
    <form id="F7010" runat="server">
    <div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL">
                </div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblReceiptQuery" runat="server" Text="发货订单查询" CssClass="hover" meta:resourcekey="lblReceiptQuery"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR">
                </div>
            </div>
        </div>
        <div id="div_query">
            <table width="580px" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 180px">
                        <asp:Label CssClass="label" ID="lblOrdersID" runat="server" Text="发货订单单号" meta:resourcekey="lblOrdersID"></asp:Label>
                    </td>
                    <td style="width: 30px">
                        &nbsp;
                    </td>
                    <td style="width: 160px">
                        &nbsp;
                    </td>
                    <td style="width: 200px">
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtOrdersID" runat="server" CssClass="textbox" meta:resourcekey="txtOrdersID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOrdersID" runat="server" CssClass="selectbox" meta:resourcekey="ddlOrdersID">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblExternOrderID" runat="server" Text="外部订单号" meta:resourcekey="lblExternOrderID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtExternOrderID" runat="server" CssClass="textbox" meta:resourcekey="txtExternOrderID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlExternOrderID" runat="server" CssClass="selectbox" meta:resourcekey="ddlExternOrderID">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblReferenceNum" runat="server" Text="销售订单号" meta:resourcekey="lblReferenceNum"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtReferenceNum" runat="server" CssClass="textbox" meta:resourcekey="txtReferenceNum"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlReferenceNum" runat="server" CssClass="selectbox" meta:resourcekey="ddlReferenceNum">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblWaveID" runat="server" Text="批量订单号" meta:resourcekey="lblWaveID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtWaveID" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlWaveID" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblType" runat="server" Text="订单类型" meta:resourcekey="lblType"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <%--<asp:DropDownList ID="ddlType" runat="server" CssClass="mediumselectbox" 
                        meta:resourcekey="ddlType"></asp:DropDownList>--%>
                        <uc1:MultipleSelectControl ID="MSCType" runat="server" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlTypeOpr" runat="server" CssClass="selectbox" meta:resourcekey="ddlTypeOpr">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblStatus" runat="server" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <%--<asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlStatus">
                     </asp:DropDownList>--%>
                        <uc1:MultipleSelectControl ID="MSCStatus" runat="server" />
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlStatusOper" runat="server" CssClass="selectbox" meta:resourcekey="ddlStatusOper">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style='display: none'>
                    <td>
                        <asp:Label CssClass="label" ID="lblShipTogether" runat="server" Text="是否合并发货" meta:resourcekey="lblShipTogether"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style='display: none'>
                    <td>
                        <asp:DropDownList ID="ddlShipTogether" runat="server" CssClass="mediumselectbox"
                            meta:resourcekey="ddlShipTogether">
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlShipTogetherOpr" runat="server" CssClass="selectbox" meta:resourcekey="ddlShipTogetherOpr">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" meta:resourcekey="txtOwnerID"></asp:TextBox><img
                            src="../Images/icon_find.gif" alt="select one item" class="img" runat="server"
                            id="OwnerIDImg" onclick="selectOwner();" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOwnerID" runat="server" CssClass="selectbox" meta:resourcekey="ddlOwnerID">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style="display: none">
                    <td>
                        <asp:Label CssClass="label" ID="lblPriority" runat="server" Text="优先级" meta:resourcekey="lblPriority"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style="display: none">
                    <td>
                        <asp:TextBox ID="txtPriority" runat="server" CssClass="textbox" meta:resourcekey="txtPriority"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlPriority" runat="server" CssClass="selectbox" meta:resourcekey="ddlPriority">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style="display: none">
                    <td>
                        <asp:Label CssClass="label" ID="lblOrderGroup" runat="server" Text="订单分组" meta:resourcekey="lblOrderGroup"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style="display: none">
                    <td>
                        <asp:TextBox ID="txtOrderGroup" runat="server" CssClass="textbox" meta:resourcekey="txtOrderGroup"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOrderGroup" runat="server" CssClass="selectbox" meta:resourcekey="ddlOrderGroup">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblConsigneeID" runat="server" Text="客户代码" meta:resourcekey="lblConsigneeID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtConsigneeID" runat="server" CssClass="textbox" meta:resourcekey="txtConsigneeID"></asp:TextBox><img
                            src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectConsignee();" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlConsigneeID" runat="server" CssClass="selectbox" meta:resourcekey="ddlConsigneeID">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style='display: none'>
                    <td>
                        <asp:Label CssClass="label" ID="lblBillToID" runat="server" Text="付款方信息" meta:resourcekey="lblBillToID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style='display: none'>
                    <td>
                        <asp:TextBox ID="txtBillToID" runat="server" CssClass="textbox" meta:resourcekey="txtBillToID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlBillToID" runat="server" CssClass="selectbox" meta:resourcekey="ddlBillToID">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <%--<tr>
                <td>
                    <asp:Label CssClass="label" ID="lblDoor" runat="server" Text="门" 
                        meta:resourcekey="lblDoor"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtDoor" runat="server" CssClass="textbox" 
                        meta:resourcekey="txtDoor"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:DropDownList ID="ddlDoor" runat="server" CssClass="selectbox" 
                        meta:resourcekey="ddlDoor"></asp:DropDownList>
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>
                    <asp:Label CssClass="label" ID="lblRoute" runat="server" Text="路线" 
                        meta:resourcekey="lblRoute"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtRoute" runat="server" CssClass="textbox" 
                        meta:resourcekey="txtRoute"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:DropDownList ID="ddlRoute" runat="server" CssClass="selectbox" 
                        meta:resourcekey="ddlRoute"></asp:DropDownList>
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>
                    <asp:Label CssClass="label" ID="lblStop" runat="server" Text="站点" 
                        meta:resourcekey="lblStop"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtStop" runat="server" CssClass="textbox" 
                        meta:resourcekey="txtStop"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:DropDownList ID="ddlStop" runat="server" CssClass="selectbox" 
                        meta:resourcekey="ddlStop"></asp:DropDownList>
                </td>
                <td></td>
            </tr>--%>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblOrderDate" runat="server" Text="订单日期" meta:resourcekey="lblOrderDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtOrderDate" runat="server" CssClass="textbox" meta:resourcekey="txtOrderDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtOrderDate)" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOrderDate" runat="server" CssClass="selectbox" onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div1,img1);"
                            meta:resourcekey="ddlOrderDate">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <div style="display: none;" id="div1">
                            <asp:TextBox ID="txtOrderDate2" runat="server" CssClass="textbox" meta:resourcekey="txtOrderDate2"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" id="img1" runat="server"
                                onclick="setday(this,txtOrderDate2)" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblRequestedShipDate" runat="server" Text="要求发货日期"
                            meta:resourcekey="lblRequestedShipDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtRequestedShipDate" runat="server" CssClass="textbox" meta:resourcekey="txtRequestedShipDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtRequestedShipDate)" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlRequestedShipDate" runat="server" CssClass="selectbox" onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div2,img2);"
                            meta:resourcekey="ddlRequestedShipDate">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <div style="display: none;" id="div2">
                            <asp:TextBox ID="txtRequestedShipDate2" runat="server" CssClass="textbox" meta:resourcekey="txtRequestedShipDate2"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" id="img2" runat="server"
                                onclick="setday(this,txtRequestedShipDate2)" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblActualShipDate" runat="server" Text="实际发货日期" meta:resourcekey="lblActualShipDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtActualShipDate" runat="server" CssClass="textbox" meta:resourcekey="txtActualShipDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtActualShipDate)" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlActualShipDate" runat="server" CssClass="selectbox" onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div3,img3);"
                            meta:resourcekey="ddlDeliveryDate">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <div style="display: none;" id="div3">
                            <asp:TextBox ID="txtActualShipDate2" runat="server" CssClass="textbox" meta:resourcekey="txtActualShipDate2"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" id="img3" runat="server"
                                onclick="setday(this,txtActualShipDate2)" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblDeliveryDate" runat="server" Text="要求到货日期" meta:resourcekey="lblDeliveryDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDeliveryDate" runat="server" CssClass="textbox" meta:resourcekey="txtDeliveryDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtDeliveryDate)" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDeliveryDate" runat="server" CssClass="selectbox" onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div4,img4);"
                            meta:resourcekey="ddlDeliveryDate">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <div style="display: none;" id="div4">
                            <asp:TextBox ID="txtDeliveryDate2" runat="server" CssClass="textbox" meta:resourcekey="txtDeliveryDate2"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" id="img4" runat="server"
                                onclick="setday(this,txtDeliveryDate2)" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblTransportMode" runat="server" Text="运输方式" meta:resourcekey="lblTransportMode"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <%--<asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlStatus">
                     </asp:DropDownList>--%>
                        <uc1:MultipleSelectControl ID="MSCTransportMode" runat="server" />
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlTransportMode" runat="server" CssClass="selectbox" meta:resourcekey="ddlTransportMode">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblDriverName" runat="server" Text="司机" meta:resourcekey="lblDriverName"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDriverName" runat="server" CssClass="textbox" meta:resourcekey="txtDriverName"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDriverName" runat="server" CssClass="selectbox" meta:resourcekey="ddlDriverName">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <%--<tr>
                <td>
                    <asp:Label CssClass="label" ID="lblDepartureDate" runat="server" Text="离开日期" 
                        meta:resourcekey="lblDepartureDate"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtDepartureDate" runat="server" CssClass="textbox" 
                        meta:resourcekey="txtDepartureDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtDepartureDate)" />
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:DropDownList ID="ddlDepartureDate" runat="server" CssClass="selectbox" 
                        onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div3,img4);" 
                        meta:resourcekey="ddlDepartureDate"></asp:DropDownList>
                </td>
                <td>
                    <div style="display:none;" id="div3">
                            <asp:TextBox ID="txtDepartureDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtDepartureDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img4" runat="server" onclick="setday(this,txtDepartureDate2)"/>
                        </div>
                </td>
            </tr>--%>
                <%--<tr>
                <td>
                    <asp:Label CssClass="label" ID="lblOrderValue" runat="server" Text="Order Value"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtOrderValue" runat="server" CssClass="textbox"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:DropDownList ID="ddlOrderValue" runat="server" CssClass="selectbox"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label CssClass="label" ID="lblUpdateSource" runat="server" Text="Update Source"></asp:Label>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtUpdateSource" runat="server" CssClass="textbox"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:DropDownList ID="ddlUpdateSource" runat="server" CssClass="selectbox"></asp:DropDownList>
                </td>
            </tr>
            <tr>--%>
                <tr style="display: none">
                    <td>
                        <asp:Label CssClass="label" ID="lblIsActive" runat="server" Text="是否启用" meta:resourcekey="lblIsActive"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr style="display: none">
                    <td>
                        <asp:DropDownList ID="ddlIsActive" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlIsActive">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlIsActiveOper" runat="server" CssClass="selectbox" meta:resourcekey="ddlIsActiveOper">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>"
                            CssClass="button" Enabled="False" OnClick="btnSearch_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" Text="<%$Resources:ButtonResource,btnNew%>"
                            Enabled="False" CssClass="button" OnClientClick="javascript:window.location.href='ShippingOrder.aspx?from=query';return false;"
                            meta:resourcekey="btnNew" />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>"
                            Enabled="False" CssClass="button" OnClick="btnList_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>"
                            Enabled="False" CssClass="button" OnClientClick="javascript:window.location.href='ShippingOrderList.aspx?from=query&export=y';return false;" />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
        <input type="hidden" id="hdnDeclarationsType"  runat="server"/>  
    </div>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <link href="../Js/JqueryPlugin/jquery.multiselect.css" rel="stylesheet" type="text/css" />
    <link href="../Js/JqueryPlugin/jquery.ui.css" rel="stylesheet" type="text/css" />

    <script src="../Js/JqueryPlugin/jquery.multiselect.min.js" type="text/javascript"></script>

    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>

